<template>
  <div>
    <h3>slot 插槽</h3>
    <hr>
    <Category>
      <li v-for="item in arr.game" :key="item.index">{{item}}</li>
    </Category>
    <Category>
      <li v-for="item in arr.video" :key="item.index">{{item}}</li>
    </Category>
    <Category>
      
    </Category>
  </div>
</template>
<script>
import Category from "./components/Category.vue";

export default {
  name:"App",
  data() {
    return {
      arr:{
        game:['1','2','3'],
        video:['a','b','c']
      }
    }
  },
  methods: {
    
  },
  components:{
    Category
  }
}
</script>